﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;

namespace ProductionManage.Models.Products
{
    /// <summary>
    /// BOM信息
    /// </summary>
    public class BomInfo : Entity<int>
    {
        /// <summary>
        /// 物料ID
        /// </summary>
        public int ProductId { get; set; } 

        /// <summary>
        /// 物料ID
        /// </summary>
        public long BomItemId { get; set; }

        /// <summary>
        /// BOM物料编码
        /// </summary>
        public string? BomCode { get; set; }

        /// <summary>
        /// 代号
        /// </summary>
        public string? BomMark { get; set; } 

        /// <summary>
        /// BOM物料名称
        /// </summary>
        public string? BomName { get; set; }

        /// <summary>
        /// BOM物料规格型号
        /// </summary>
        public string? BomSpec { get; set; }

        /// <summary>
        /// 物料产品标识
        /// </summary>
        public string? ProductItem { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }

        /// <summary>
        /// 生产类型
        /// </summary>
        public string? Type { get; set; }

        /// <summary>
        /// 使用比例
        /// </summary>
        public double QuantityRate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; } 
    }
}
